<?php

namespace Caifenglei\AuthRbac\Models;

use Spatie\Permission\Models\Role as BaseRole;

class Role extends BaseRole
{
    public const STATUS_AVAILABLE = 1;
    public const STATUS_FORBIDDEN = 0;

    protected $hidden = ['pivot'];

    protected $casts = [
        'updated_at' => 'datetime:Y-m-d H:i:s',
        'created_at' => 'datetime:Y-m-d H:i:s',
    ];
}
